#ifndef NETELEVATORTOFIRESTCMD_H
#define NETELEVATORTOFIRESTCMD_H

#include "Command/BaseCmd.h"
#include "Protocol/NetPointProtocol.h"
#include "Protocol/PointProtocol.h"
class NetElevatorToFirestCmd : public BaseCmd
{
    Q_OBJECT
public:

    enum{FunctionCode = NetPointProtocol::CallLiftToFirst};
//    enum{PointFunctionCode = PointProtocol::ControlPoint};
    Q_INVOKABLE explicit NetElevatorToFirestCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);
    quint16 doorNumber() const;
    void setDoorNumber(const quint16 number);


private:
    quint16 m_doorNumber;

};


#endif // NETELEVATORTOFIRESTCMD_H
